<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>属性绑定</title>
</head>
<body>
<div>
    <!--v-bind属性绑定-->
    <input type="text" v-bind:value="date">
    <input :type="type">
    <input type="text" v-model="type">
    <h1>{{type}}</h1>
    <!--v-bind属性绑定 简写 value前面加 : -->
    <a :href="type">超链接</a>
    <img :src="IMGurl" alt="">
</div>
</body>
<script src="../js/vue.js"></script>
<script>
    let v=new Vue({
        el:"div",
        data:{
            date:"属性绑定测试",
            type:"text",
            IMGurl:"../meimei.jpg",
        }
    })
</script>
</html>